﻿using System;

namespace codeparser.net.v2.Contracts
{
    /// <summary>
    /// Represents the contract for the parser.
    /// </summary>
    public interface IParser
    {
        /// <summary>
        /// Gets or sets the tag configuration.
        /// </summary>
        /// <value>The tag configuration.</value>
        TagConfiguration TagConfiguration
        {
            get;
            set;
        }

        /// <summary>
        /// Parses the specified text.
        /// </summary>
        /// <param name="text">The text.</param>
        /// <returns>The parsed text.</returns>
        string Parse(string text);
    }
}